package com.qr.bean.wmyh;

import java.sql.Date;
import java.math.BigDecimal;
import java.sql.Timestamp;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotNull;
/**
 * @author: zc
 * email: zc8023zs@163.com
 * create_time: 2020/8/11 13:03:24
 */
@ApiModel(value = "jbr_user_sales_records", description = "销售记录(每天，每月)")
@TableName(value = "jbr_user_sales_records")
public class JbrUserSalesRecords implements Serializable {
	@ApiModelProperty(value = "编号")
	@TableId(type = IdType.AUTO,value = "id")
	@NotNull(message = "编号不能为空")
	private Integer id;
	@ApiModelProperty(value = "记录类型（1：天 ， 2：月）")
	@TableField(value="type")
	private Integer type;
	@ApiModelProperty(value = "日期")
	@TableField(value="date")
	private Date date;
	@ApiModelProperty(value = "团长id")
	@TableField(value="superior_one_id")
	private Integer superior_one_id;
	@ApiModelProperty(value = "入账")
	@TableField(value="advance")
	private BigDecimal advance;
	@ApiModelProperty(value = "出账")
	@TableField(value="outs")
	private BigDecimal outs;
	@ApiModelProperty(value = "实际入账")
	@TableField(value="actual_entry")
	private BigDecimal actual_entry;
	@ApiModelProperty(value = "客单价")
	@TableField(value="customer_unit_price")
	private BigDecimal customer_unit_price;
	@ApiModelProperty(value = "记录生成时间")
	@TableField(value="add_time")
	private Timestamp add_time;
	@ApiModelProperty(value = "单量")
	@TableField(value="nums")
	private Integer nums;

 
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
 
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
 
	public Date getDate() {
		return date;
	}
	public void setDate(Date date) {
		this.date = date;
	}
 
	public Integer getSuperior_one_id() {
		return superior_one_id;
	}
	public void setSuperior_one_id(Integer superior_one_id) {
		this.superior_one_id = superior_one_id;
	}
 
	public BigDecimal getAdvance() {
		return advance;
	}
	public void setAdvance(BigDecimal advance) {
		this.advance = advance;
	}
 
	public BigDecimal getOuts() {
		return outs;
	}
	public void setOuts(BigDecimal outs) {
		this.outs = outs;
	}
 
	public BigDecimal getActual_entry() {
		return actual_entry;
	}
	public void setActual_entry(BigDecimal actual_entry) {
		this.actual_entry = actual_entry;
	}
 
	public BigDecimal getCustomer_unit_price() {
		return customer_unit_price;
	}
	public void setCustomer_unit_price(BigDecimal customer_unit_price) {
		this.customer_unit_price = customer_unit_price;
	}
 
	public Timestamp getAdd_time() {
		return add_time;
	}
	public void setAdd_time(Timestamp add_time) {
		this.add_time = add_time;
	}
 
	public Integer getNums() {
		return nums;
	}
	public void setNums(Integer nums) {
		this.nums = nums;
	}

}